<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>InfArena 2.0</title>
        <link href="styles/style1.css" rel="stylesheet"/>
    </h:head>
    <h:body>
        <h:link value="Ultimo Juego" outcome="game" />
        <p:separator/>
        <h:link value="Ver Estadisticas" outcome="statistics" />
        <p:separator/>
        <div class="indexPlayerList teams">
            <p:dataList value="#{playerDAO.activePlayers}" var="player" itemType="none"  >
                <div class="playerImage">
                    <ui:insert name="playerList" >
                        <ui:include src="player_image.xhtml" >
                            <ui:param name="imageSize" value="100" />
                            <ui:param name="playerId" value="#{player.id}" />
                        </ui:include>
                    </ui:insert>
                </div>
            </p:dataList>
        </div>
        <p:separator/>
        <h:link value="Sugerencias" outcome="suggestion" />
    </h:body>
</html>

